package com.flyme.module.base.client.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.flyme.common.core.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author flyme
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@NoArgsConstructor
@TableName("sys_message_send")
@ApiModel(value = "消息发送详情")
public class SysMessageSend extends BaseEntity {
    
    @ApiModelProperty(value = "关联消息id")
    private Long messageId;
    
    @ApiModelProperty(value = "关联用户id")
    private Long userId;


    @ApiModelProperty(value = "状态 0默认未读 1已读 2回收站")
    private Integer messageStatus;
    /**
     * 跳转目标
     */
    private  String targetId;

    /**
     * 消息类型（1系统消息2订单消息）
     */
    private  String  messageType;
    
}